﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace GDPView.Models
{
    [Table("SampleData")]
    public class SampleData
    {
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        [Required]
        [Column("SampleDataName")]
        public string SampleDataName { get; set; }
        [Required]
        [Column("ContactInformation")]
        public string ContactInformation { get; set; }
        [Required]  
        [Column("SpecificInformation")]
        public string SpecificInformation { get; set; }
        [Required]
        [Column("CreateDate")]
        public DateTime CreateDate { get; set; } = DateTime.Now;
    }
}
